<template lang="html">
  <div >
    <van-nav-bar
      :title="$route.query.topBarName?$route.query.topBarName:$route.name"
      left-text="返回"
      right-text=""
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
   
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    onClickLeft() {
      this.$router.back();
    },
    onClickRight() {},
  },
};
</script>
<style lang="less" scoped>
</style>